body {
  margin: 0;
  font-family: "微软雅黑", Airl, Arial, sans-serif;
  
}
*{
  box-sizing: border-box;
}
#app {
  color: $color-main-font;
  background-color: $color-content;
  font-size: 14px;
}
ul{
  margin: 0;
  padding: 0;
}
//滚动条样式
// ::-webkit-scrollbar {
//   width: 10px;
//   height: 10px;
//   background-color: #ffffff;
// }
// ::-webkit-scrollbar:hover {
//   background-color: #ebebeb;
// }
// ::-webkit-scrollbar-thumb {
//   background-color: $color-main-primary;
//   -webkit-border-radius: 5px;
//   border-radius: 5px;
// }


//公共过滤条件样式
.common-filter{
  margin: 10px;
  .el-form{
    display: flex;
    align-items: center;
    .el-form-item__content{
      display: flex;
      .form-title{
        flex: 0 0 auto;
        margin-right: 10px;
      }
    }
    .el-form-item--small.el-form-item{
      margin-bottom: 0;
    }
    .el-button{
      margin-left: 10px;
    }
  }
}
.common-table{
  display: flex;
  flex-flow: column;
  height: 100%;
  overflow: hidden;
  .el-table{
    flex: 1;
    overflow: auto;
  }
  .el-table::before {
    content: none;
  }
  //文本对齐
  .el-table .el-table__cell{
    text-align: center;
  }
  //选中行
  .current-row .el-table__cell{
    background-color: $color-main-emphasis!important;
    color: #fff!important;
  }
  .el-pagination{
    padding: 8px;
  }
}

//弹出框样式
.common-dialog {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  .el-dialog{
      display: flex;
      flex-direction: column;
      .el-dialog__body{
        flex: 1;
      }
  }
  .el-dialog__header {
    padding: 6px 12px 6px 20px;
    background-color: $color-main-primary;
    color: #fff;
    .el-dialog__title {
      padding: 0;
      padding-left: 8px;
      color: #fff;
      border-left: 1px solid #fff;
      height: 12px;
      line-height: 12px;
      font-size: 14px;
    }
    .el-dialog__headerbtn {
      top: 7px;
      right: 10px;
      .el-icon-close {
        color: #fff;
      }
    }
  }
}

//过滤筛选项列表
.common-filter-list{
  width: 200px;
  height: 100%;
  overflow: auto;
  border-right: 1px solid #ccc;
  .item{
    padding: 10px 20px;
    cursor: pointer;
    // border-bottom: 1px solid $color-content;
  }
  .checked{
    background-color: $color-main-emphasis;
    color: #fff;
  }
}
.flex-column{
  display: flex;
  flex-direction: column;
}